package com.test;

/**
 * @author likai
 * @date 2021/11/4 9:40 AM
 * @email likai9376@163.com
 * @desc
 */
public class A {

    private B delegate;

    public A(B delegate) {
        this.delegate = delegate;
    }


    public String getPrin() {
        return delegate.getPrint();
    }
}
